package com.bdqn.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.crm.mapper.BasDictMapper;
import com.bdqn.crm.pojo.BasDict;
import com.bdqn.crm.service.BasDictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class BasDictServiceImpl extends ServiceImpl<BasDictMapper, BasDict>
        implements BasDictService {

    @Resource
    private BasDictMapper dictMapper;

    /**
     * 分页查询
     *
     * @param dictId
     * @param dictItem
     * @param pageIndex
     * @param pageSize
     * @return
     */
    @Override
    public List<BasDict> selectPages(Integer dictId, String dictItem, Integer pageIndex, Integer pageSize) {
        return dictMapper.selectPages(dictId, dictItem, pageIndex, pageSize);
    }
}




